package com.fsp.blog.service;

import com.fsp.blog.vo.Result;
import com.fsp.blog.vo.params.CommentParam;

/**
 * @author fushengping
 * @interface CommentsService
 * @description
 * @date 2021/11/20 17:27
 */
public interface CommentsService {
    /**
     * 根据文章id，查询所有的评论列表
     * @param id
     * @return
     */
    Result findCommentsByArticleId(Long id);

    /**
     * 评论
     * @param commentParam
     * @return
     */
    Result comment(CommentParam commentParam);
}
